package com.qk.management.controller;

import com.qk.common.Result;
import com.qk.entity.vo.portal.PortalVO;
import com.qk.management.service.ReportOverviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author fantuan
 * @created 2025/10/15 14:47
 * @description
 */
@RestController
@RequestMapping
public class ReportOverviewController {
    @Autowired
    private ReportOverviewService reportOverviewService;

    @GetMapping("/report/overview")
    public Result reportOverview() {
        PortalVO overview = reportOverviewService.getOverview();
        return Result.success(overview);
    }
}
